package com.bdk.middle.cms.core.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Reagan
 * @since 2021-03-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("e_channel")
@AllArgsConstructor
@NoArgsConstructor
public class ChannelEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("app_id")
    private String appId;

    @TableField("title")
    private String title;

    @TableField("channel_id")
    private String channelId;

    @TableField("icon_url")
    private String iconUrl;

    @TableField("sort")
    private Integer sort;

    @TableField("create_date")
    private Date createDate;

    @TableField("modifi_date")
    private Date modifiDate;

    @TableField("creator")
    private String creator;

    @TableField("modifier")
    private String modifier;

    @TableField("status")
    private Integer status;

    @TableLogic
    @TableField("is_delete")
    private Integer isDelete;

    @TableField("code")
    private String code;
}
